package com.qsd.TeacherSystem.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qsd.common.po.Grade;
import com.qsd.common.pojo.GradeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GradeDao extends BaseMapper<GradeEntity> {
	
	int saveGrade(Grade grade);


	/**
	 * 考试分数分页查询
	 * @param page
	 * @param grade
	 * @return
	 */
	IPage<Grade> findAndPage (IPage<Grade> page, @Param("param1") Grade grade);

}
